package cn.laixueit.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import java.util.Date;

@Controller
@RequestMapping("/user")
public class UserController {

    @RequestMapping(method = RequestMethod.POST,value = "/findall")
    public ModelAndView findAll(){
        return new ModelAndView();
    }

    @RequestMapping("/save")
    public ModelAndView save(Date date){
        System.out.println("date = " + date);
        return new ModelAndView();
    }
}
